package com.mallcai.bigdata.uid.buffer;

import java.util.List;

/**
 * described : Buffered UID provider(Lambda supported), which provides UID in the same one second
 * Created by oneape<oneape15@163.com> on 2019-04-04 15:48.
 * Modify:
 */
@FunctionalInterface
public interface BufferedUidProvider {

    /**
     * Provides UID in one second
     *
     * @param momentInSecond long
     * @return List
     */
    List<Long> provide(long momentInSecond);
}
